Learn R Programming

Directional (version 5.7)

Contour plot of the ESAG distribution without any data: Contour plot of the ESAG distribution without any data

Description

The contour plot of the ESAG distribution on the sphere is produced.

Usage

esag.contour(mu, gam, lat, long)

Value

A plot containing the contours of the ESAG distribution.

Arguments

mu

The mean vector the ESAG distribution, a vector in \(R^3\).

gam

The two gamma parameters of the ESAG distribution.

lat

A positive number determing the range of degrees to move left and right from the latitude center. See the example to better understand this argument.

long

A positive number determing the range of degrees to move up and down from the longitude center. See the example to better understand this argument.

Author

Michail Tsagris and Christos Adam.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr and Christos Adam pada4m4@gmail.com.

Details

The goal of this function is for the user to see hwo the ESAG distribution looks like.

References

Paine P.J., Preston S.P., Tsagris M. and Wood A.T.A. (2018). An Elliptically Symmetric Angular Gaussian Distribution. Statistics and Computing, 28(3):689--697.

See Also

kent.contour, vmf.contour

Examples

Run this code
# \donttest{
mu <- colMeans( as.matrix( iris[,1:3] ) )
gam <- c(1,0.5) 
esag.contour(mu, gam, 50, 50)
esag.contour(mu, gam, 30, 40)
# }

Run the code above in your browser using DataLab